package com.zjitc.chapter07.domain;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class User {
    @Value("1")
    private Integer id;
    @Value("张三")
    private String username;
    @Value("123456")
    private String password;

}
